#ifndef COOLPOOL_CUEGLPICKER_H_
#define COOLPOOL_CUEGLPICKER_H_

#include "GLPicker.h"

namespace coolpool
{
	// GLPicker for the cue, to work with.
	class CueGLPicker : public GLPicker
	{
	public:

		CueGLPicker(GLuint cue_name);

		virtual ~CueGLPicker();

		// Overrides:
		virtual void processHits(GLint hits, GLuint buffer[]);

		inline bool wasPicked()
		{
			return cue_was_picked_;
		}

		inline void resetWasPicked()
		{
			cue_was_picked_ = false;
		}

	private:
		bool cue_was_picked_;
		GLuint cue_name_;
	};

}
#endif
